package com.zhxy.manager.service.intf;


import com.zhxy.manager.entity.Song;
import com.zhxy.manager.vo.PageBean;
import com.zhxy.manager.vo.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SongService {
    //新增
    R save(Song song);
    //修改
    R update(Song song);
    //查询
    List<Song> selectAll();
    //删除
    R del(int id);
    //查询
    PageBean queryPage(int limit,int page);
    //条件查询
    PageBean queryPageWhere(String name,int limit,int page);
    //批量删除
    R delBatch(int[] ids);
    //实现导入
    R saveBatch(MultipartFile file) throws IOException;
}
